<extend name="Index::index"/>
<block name="title"><title>修改管理</title></block>
<block name="main">
            <!--右内容区域-->
            <div class="layout-content">

                <div class="page-title">电影管理</div>

                <div class="content-top hide">
                    <ul class="top-nav">
                        <li class="active"><span>修改信息</span></li>
                    </ul>
                    <div class="clearfix"></div>
                </div>


                <!--content-main start-->
                <div class="container-fluid content-main">
                    <div class="row">
                        <div class="col-md-12">

                            <?php if(isset($_SESSION['message'])){
                            $message = $_SESSION['message'];
                            unset($_SESSION['message']);
                            ?>
                            <div class="ui-tips bg-info">
                                <span class="icon glyphicon glyphicon-info-sign"></span>
                                <span><?php echo  $message ?></span>
                            </div>
                            <?php } ?>


                            <form action="{:U('update',['id'=>$_GET['id']])}" class="form-horizontal" method="post" enctype="multipart/form-data">

                                <div class="form-group">
                                    <label class="col-sm-2 control-label">放映厅</label>
                                    <div class="col-sm-8">
                                        <input type="text" name="name"
class="form-control" value="{$list.name}">
                                        <span class="help-block"></span>
                                    </div>
                                </div>


                                <div class="form-group hide">
                                    <div class="col-sm-offset-2 col-sm-8">
                                        <div class="checkbox">
                                            <label>
                                                <input type="checkbox"> Remember me
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-8">
                                        <button name="submit" type="submit" class="btn btn-default">修改提交</button>
                                    </div>
                                </div>
                            </form>


                        </div>
                    </div>

                </div>

               <!-- <script>
               onfocus="abc(this)"
                    function abc(obj){
                      $(obj).val('');
                      }

                </script>-->
            <!--右内容区域结束-->
</block>